#ifndef __ROLEMGR_H_23890__
#define __ROLEMGR_H_23890__

#include "IRole.h"
#include <map>

class CRoleMgr
{
public:
	IRole* QueryRole(unsigned int idRole);
	IRole* CreateNewRole(unsigned int idRole);

	void OnTimer();
private:
	std::map<unsigned int, IRole*> m_mapRole;
};

#endif //__ROLEMGR_H_23890__